package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.Audit;
import com.literaryfamily.literaryfamily.entity.AuditExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AuditMapper {
    long countByExample(AuditExample example);

    int deleteByExample(AuditExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Audit row);

    int insertSelective(Audit row);

    List<Audit> selectByExampleWithBLOBs(AuditExample example);

    List<Audit> selectByExample(AuditExample example);

    Audit selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Audit row, @Param("example") AuditExample example);

    int updateByExampleWithBLOBs(@Param("row") Audit row, @Param("example") AuditExample example);

    int updateByExample(@Param("row") Audit row, @Param("example") AuditExample example);

    int updateByPrimaryKeySelective(Audit row);

    int updateByPrimaryKeyWithBLOBs(Audit row);

    int updateByPrimaryKey(Audit row);
}